package com.hand.demo.domain.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.choerodon.mybatis.annotation.ModifyAudit;
import io.choerodon.mybatis.annotation.VersionAudit;
import io.choerodon.mybatis.domain.AuditDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 证书表(HhrTaCert)实体类
 *
 * @author
 * @since 2025-06-16 12:16:54
 */

@ApiModel("证书表")
@VersionAudit
@ModifyAudit
@JsonInclude(value = JsonInclude.Include.NON_NULL)
@Table(name = "hhr_ta_cert")
public class HhrTaCert extends AuditDomain {
    private static final long serialVersionUID = -81747852542133803L;

    public static final String FIELD_ID = "id";
    public static final String FIELD_CERT_NAME = "certName";
    public static final String FIELD_CERT_TYPE = "certType";
    public static final String FIELD_RESUME_ID = "resumeId";
    public static final String FIELD_TENANT_ID = "tenantId";

    @ApiModelProperty("自增主键")
    @Id
    @GeneratedValue
    private Long id;

    @ApiModelProperty(value = "证书/奖项全称")
    @NotBlank
    private String certName;

    @ApiModelProperty(value = "证书类型")
    private String certType;

    @ApiModelProperty(value = "关联简历ID", required = true)
    @NotNull
    private Long resumeId;

    @ApiModelProperty(value = "租户ID", required = true)
    @NotNull
    private Long tenantId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCertName() {
        return certName;
    }

    public void setCertName(String certName) {
        this.certName = certName;
    }

    public String getCertType() {
        return certType;
    }

    public void setCertType(String certType) {
        this.certType = certType;
    }

    public Long getResumeId() {
        return resumeId;
    }

    public void setResumeId(Long resumeId) {
        this.resumeId = resumeId;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

}

